package com.cipe.cmrs.bean;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.springframework.util.AutoPopulatingList;

import com.cipe.cmrs.model.User;

public class AuditsBean {
	private User user;
	private Integer id;
	private CipeprojectBean project = new CipeprojectBean();
	private boolean newgrantee;
	private BigDecimal riskassessment = BigDecimal.ZERO;
	private boolean smponly;
	private boolean internalmonitoring;
	private boolean interimaudit;
	private boolean finalaudit;

	// Internal Monitoring
	private boolean imprequired;
	private String impnotes = "";
	private List<ImpBean> impBeans = new AutoPopulatingList<ImpBean>(
			ImpBean.class);
	private int impBeansSize;
	private Date projectStartDate;
	private Date projectEndDate;

	// Interim Audit
	private boolean iarequired;
	private String iasolicitor;

	private Date iaselectionmemodue;
	private Date iaselectionmemoreceived;
	private Date iaselectionmemoapproved;

	private String iafirm;

	private Date iadue;
	private Date iareceived;
	private Date iaapproved;

	private Date iarevisedresolutiondue;
	private Date iarevisedresolutionreceived;
	private Date iarevisedresolutionapproved;

	private Date iarevisedresolutionoffindingsdue;
	private Date iarevisedresolutionoffindingsreceived;
	private Date iarevisedresolutionoffindingsapproved;

	private Date iaresolutionoffindingsdue;
	private Date iaresolutionoffindingsreceived;
	private Date iaresolutionoffindingsapproved;

	private String iamemonotes;
	private Date iaclosedtofile;

	// Final Audit
	private boolean farequired;
	private String fasolicitor;

	private Date faselectionmemoduedate;
	private Date faselectionmemodue;
	private Date faselectionmemoreceived;
	private Date faselectionmemoapproved;

	private String fafirm;

	private Date fadue;
	private Date fareceived;
	private Date faapproved;

	private Date farevisedresolutiondue;
	private Date farevisedresolutionreceived;
	private Date farevisedresolutionapproved;

	private Date farevisedresolutionoffindingsdue;
	private Date farevisedresolutionoffindingsreceived;
	private Date farevisedresolutionoffindingsapproved;

	private Date faresolutionoffindingsdue;
	private Date faresolutionoffindingsreceived;
	private Date faresolutionoffindingsapproved;

	private String famemonotes;
	private Date faclosedtofile;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public CipeprojectBean getProject() {
		return project;
	}

	public void setProject(CipeprojectBean project) {
		this.project = project;
	}

	public boolean isNewgrantee() {
		return newgrantee;
	}

	public void setNewgrantee(boolean newgrantee) {
		this.newgrantee = newgrantee;
	}

	public BigDecimal getRiskassessment() {
		return riskassessment;
	}

	public void setRiskassessment(BigDecimal riskassessment) {
		this.riskassessment = riskassessment;
	}

	public boolean isSmponly() {
		return smponly;
	}

	public void setSmponly(boolean smponly) {
		this.smponly = smponly;
	}

	public boolean isInternalmonitoring() {
		return internalmonitoring;
	}

	public void setInternalmonitoring(boolean internalmonitoring) {
		this.internalmonitoring = internalmonitoring;
	}

	public boolean isInterimaudit() {
		return interimaudit;
	}

	public void setInterimaudit(boolean interimaudit) {
		this.interimaudit = interimaudit;
	}

	public boolean isFinalaudit() {
		return finalaudit;
	}

	public void setFinalaudit(boolean finalaudit) {
		this.finalaudit = finalaudit;
	}

	public boolean isImprequired() {
		return imprequired;
	}

	public void setImprequired(boolean imprequired) {
		this.imprequired = imprequired;
	}

	public String getImpnotes() {
		return impnotes;
	}

	public void setImpnotes(String impnotes) {
		this.impnotes = impnotes;
	}

	public List<ImpBean> getImpBeans() {
		return impBeans;
	}

	public void setImpBeans(List<ImpBean> impBeans) {
		this.impBeans = impBeans;
	}

	public int getImpBeansSize() {
		return impBeansSize;
	}

	public void setImpBeansSize(int impBeansSize) {
		this.impBeansSize = impBeansSize;
	}

	public boolean isIarequired() {
		return iarequired;
	}

	public void setIarequired(boolean iarequired) {
		this.iarequired = iarequired;
	}

	public String getIasolicitor() {
		return iasolicitor;
	}

	public void setIasolicitor(String iasolicitor) {
		this.iasolicitor = iasolicitor;
	}

	public Date getIaselectionmemodue() {
		return iaselectionmemodue;
	}

	public void setIaselectionmemodue(Date iaselectionmemodue) {
		this.iaselectionmemodue = iaselectionmemodue;
	}

	public Date getIaselectionmemoreceived() {
		return iaselectionmemoreceived;
	}

	public void setIaselectionmemoreceived(Date iaselectionmemoreceived) {
		this.iaselectionmemoreceived = iaselectionmemoreceived;
	}

	public Date getIaselectionmemoapproved() {
		return iaselectionmemoapproved;
	}

	public void setIaselectionmemoapproved(Date iaselectionmemoapproved) {
		this.iaselectionmemoapproved = iaselectionmemoapproved;
	}

	public String getIafirm() {
		return iafirm;
	}

	public void setIafirm(String iafirm) {
		this.iafirm = iafirm;
	}

	public Date getIadue() {
		return iadue;
	}

	public void setIadue(Date iadue) {
		this.iadue = iadue;
	}

	public Date getIareceived() {
		return iareceived;
	}

	public void setIareceived(Date iareceived) {
		this.iareceived = iareceived;
	}

	public Date getIaapproved() {
		return iaapproved;
	}

	public void setIaapproved(Date iaapproved) {
		this.iaapproved = iaapproved;
	}

	public Date getIarevisedresolutiondue() {
		return iarevisedresolutiondue;
	}

	public void setIarevisedresolutiondue(Date iarevisedresolutiondue) {
		this.iarevisedresolutiondue = iarevisedresolutiondue;
	}

	public Date getIarevisedresolutionreceived() {
		return iarevisedresolutionreceived;
	}

	public void setIarevisedresolutionreceived(Date iarevisedresolutionreceived) {
		this.iarevisedresolutionreceived = iarevisedresolutionreceived;
	}

	public Date getIarevisedresolutionapproved() {
		return iarevisedresolutionapproved;
	}

	public void setIarevisedresolutionapproved(Date iarevisedresolutionapproved) {
		this.iarevisedresolutionapproved = iarevisedresolutionapproved;
	}

	public Date getIarevisedresolutionoffindingsdue() {
		return iarevisedresolutionoffindingsdue;
	}

	public void setIarevisedresolutionoffindingsdue(
			Date iarevisedresolutionoffindingsdue) {
		this.iarevisedresolutionoffindingsdue = iarevisedresolutionoffindingsdue;
	}

	public Date getIarevisedresolutionoffindingsreceived() {
		return iarevisedresolutionoffindingsreceived;
	}

	public void setIarevisedresolutionoffindingsreceived(
			Date iarevisedresolutionoffindingsreceived) {
		this.iarevisedresolutionoffindingsreceived = iarevisedresolutionoffindingsreceived;
	}

	public Date getIarevisedresolutionoffindingsapproved() {
		return iarevisedresolutionoffindingsapproved;
	}

	public void setIarevisedresolutionoffindingsapproved(
			Date iarevisedresolutionoffindingsapproved) {
		this.iarevisedresolutionoffindingsapproved = iarevisedresolutionoffindingsapproved;
	}

	public Date getIaresolutionoffindingsdue() {
		return iaresolutionoffindingsdue;
	}

	public void setIaresolutionoffindingsdue(Date iaresolutionoffindingsdue) {
		this.iaresolutionoffindingsdue = iaresolutionoffindingsdue;
	}

	public Date getIaresolutionoffindingsreceived() {
		return iaresolutionoffindingsreceived;
	}

	public void setIaresolutionoffindingsreceived(
			Date iaresolutionoffindingsreceived) {
		this.iaresolutionoffindingsreceived = iaresolutionoffindingsreceived;
	}

	public Date getIaresolutionoffindingsapproved() {
		return iaresolutionoffindingsapproved;
	}

	public void setIaresolutionoffindingsapproved(
			Date iaresolutionoffindingsapproved) {
		this.iaresolutionoffindingsapproved = iaresolutionoffindingsapproved;
	}

	public String getIamemonotes() {
		return iamemonotes;
	}

	public void setIamemonotes(String iamemonotes) {
		this.iamemonotes = iamemonotes;
	}

	public Date getIaclosedtofile() {
		return iaclosedtofile;
	}

	public void setIaclosedtofile(Date iaclosedtofile) {
		this.iaclosedtofile = iaclosedtofile;
	}

	public boolean isFarequired() {
		return farequired;
	}

	public void setFarequired(boolean farequired) {
		this.farequired = farequired;
	}

	public String getFasolicitor() {
		return fasolicitor;
	}

	public void setFasolicitor(String fasolicitor) {
		this.fasolicitor = fasolicitor;
	}

	public Date getFaselectionmemodue() {
		return faselectionmemodue;
	}

	public void setFaselectionmemodue(Date faselectionmemodue) {
		this.faselectionmemodue = faselectionmemodue;
		if (this.faselectionmemodue == null) {
			this.faselectionmemodue = this.faselectionmemoduedate;
		}
	}

	public Date getFaselectionmemoduedate() {
		return faselectionmemoduedate;
	}

	public void setFaselectionmemoduedate(Date faselectionmemoduedate) {
		this.faselectionmemoduedate = faselectionmemoduedate;
	}

	public Date getFaselectionmemoreceived() {
		return faselectionmemoreceived;
	}

	public void setFaselectionmemoreceived(Date faselectionmemoreceived) {
		this.faselectionmemoreceived = faselectionmemoreceived;
	}

	public Date getFaselectionmemoapproved() {
		return faselectionmemoapproved;
	}

	public void setFaselectionmemoapproved(Date faselectionmemoapproved) {
		this.faselectionmemoapproved = faselectionmemoapproved;
	}

	public String getFafirm() {
		return fafirm;
	}

	public void setFafirm(String fafirm) {
		this.fafirm = fafirm;
	}

	public Date getFadue() {
		return fadue;
	}

	public void setFadue(Date fadue) {
		this.fadue = fadue;
	}

	public Date getFareceived() {
		return fareceived;
	}

	public void setFareceived(Date fareceived) {
		this.fareceived = fareceived;
	}

	public Date getFaapproved() {
		return faapproved;
	}

	public void setFaapproved(Date faapproved) {
		this.faapproved = faapproved;
	}

	public Date getFarevisedresolutiondue() {
		return farevisedresolutiondue;
	}

	public void setFarevisedresolutiondue(Date farevisedresolutiondue) {
		this.farevisedresolutiondue = farevisedresolutiondue;
	}

	public Date getFarevisedresolutionreceived() {
		return farevisedresolutionreceived;
	}

	public void setFarevisedresolutionreceived(Date farevisedresolutionreceived) {
		this.farevisedresolutionreceived = farevisedresolutionreceived;
	}

	public Date getFarevisedresolutionapproved() {
		return farevisedresolutionapproved;
	}

	public void setFarevisedresolutionapproved(Date farevisedresolutionapproved) {
		this.farevisedresolutionapproved = farevisedresolutionapproved;
	}

	public Date getFarevisedresolutionoffindingsdue() {
		return farevisedresolutionoffindingsdue;
	}

	public void setFarevisedresolutionoffindingsdue(
			Date farevisedresolutionoffindingsdue) {
		this.farevisedresolutionoffindingsdue = farevisedresolutionoffindingsdue;
	}

	public Date getFarevisedresolutionoffindingsreceived() {
		return farevisedresolutionoffindingsreceived;
	}

	public void setFarevisedresolutionoffindingsreceived(
			Date farevisedresolutionoffindingsreceived) {
		this.farevisedresolutionoffindingsreceived = farevisedresolutionoffindingsreceived;
	}

	public Date getFarevisedresolutionoffindingsapproved() {
		return farevisedresolutionoffindingsapproved;
	}

	public void setFarevisedresolutionoffindingsapproved(
			Date farevisedresolutionoffindingsapproved) {
		this.farevisedresolutionoffindingsapproved = farevisedresolutionoffindingsapproved;
	}

	public Date getFaresolutionoffindingsdue() {
		return faresolutionoffindingsdue;
	}

	public void setFaresolutionoffindingsdue(Date faresolutionoffindingsdue) {
		this.faresolutionoffindingsdue = faresolutionoffindingsdue;
	}

	public Date getFaresolutionoffindingsreceived() {
		return faresolutionoffindingsreceived;
	}

	public void setFaresolutionoffindingsreceived(
			Date faresolutionoffindingsreceived) {
		this.faresolutionoffindingsreceived = faresolutionoffindingsreceived;
	}

	public Date getFaresolutionoffindingsapproved() {
		return faresolutionoffindingsapproved;
	}

	public void setFaresolutionoffindingsapproved(
			Date faresolutionoffindingsapproved) {
		this.faresolutionoffindingsapproved = faresolutionoffindingsapproved;
	}

	public String getFamemonotes() {
		return famemonotes;
	}

	public void setFamemonotes(String famemonotes) {
		this.famemonotes = famemonotes;
	}

	public Date getFaclosedtofile() {
		return faclosedtofile;
	}

	public void setFaclosedtofile(Date faclosedtofile) {
		this.faclosedtofile = faclosedtofile;
	}

	public Date getProjectStartDate() {
		return projectStartDate;
	}

	public void setProjectStartDate(Date projectStartDate) {
		this.projectStartDate = projectStartDate;
	}

	public Date getProjectEndDate() {
		return projectEndDate;
	}

	public void setProjectEndDate(Date projectEndDate) {
		this.projectEndDate = projectEndDate;
	}
}
